<project name="KindEditor-SeaJS" default="transport" basedir=".">

	<description>
		KindEditor for SeaJS build file
	</description>

	<property name="src" value="../../"/>
	<property name="dist" value="dist"/>

	<target name="transport">
		<delete dir="${dist}"/>
		<exec executable="cmd" failonerror="true">
			<arg line="/c spm transport transport.js --force --dev"/>
		</exec>
		<copy todir="${dist}" includeemptydirs="false">
			<fileset dir="${src}">
				<include name="plugins/**"/>
				<include name="themes/**"/>
				<exclude name="**/*.js"/>
			</fileset>
		</copy>
	</target>

</project>
